import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

import user from "./user.js";
import snippets from "./snippets.js";
import deliver from "./deliver.js";
// 这里只允许声明 modules,其他文件写详细的模板
export default new Vuex.Store({
    modules: { user, snippets, deliver },
});
